Skip to content

MemoizingMRUCache.Invalidate(TParam) method

Defined in

Type: MemoizingMRUCache Namespace: Splat Assembly: Splat.Logging.dll

Applies to

net11.0, net10.0, net47, net471, net472, net48, net481

public void Invalidate(TParam key)

View source (opens in a new tab)

Summary: Ensures that the next time this key is queried, the calculation function will be called.

Parameters

NameTypeDescription
keyTParamThe key to invalidate.

Exceptions

TypeCondition
System.ArgumentNullException (opens in a new tab)Thrown when key is null.